<html>
<head>
	<meta charset="utf-8" />
	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> 
</head>
<form id='form1' name='form1' method='POST'>   
<table align='center'>
         <tr>
           <td>Usuario:</td></tr>
         <tr><td><input type="text" id='usuario' name="usuario"></td>
         </tr>
		 <tr>
           <td>Password:</td></tr>
         <tr>
		   <td><input name="psw" type="password" id='password'></td>
         </tr>
       </table>
<center><input type='submit'  name = 'Entrar' id='boton' value = 'Entrar' class='button'>
<div id="ajax">&nbsp;</div></center>
<script type="text/javascript">
$(function (e) {
	$('#form1').submit(function (e) {
		e.preventDefault()
		$('#ajax').load('accesar.php?' + $('#form1').serialize())
	})
})
</script>	
</body>
</html>
